Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Anywhere] More bug fixes #4251

Merged

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler commented Jun 6, 2023

Description

Fixes 2 bugs:

  1. Misaligned timeline chart in view events flyout - due to a missed conditional
  2. NPE in isEligibleForVisLayers() helper fn, depending on the visualizations passed to it. For example, pie charts don't have seriesParams field, which was leading to the NPE. Adds couple other NPE checks as well, since VisParams unfortunately is very loosely typed so we have to account for lots of potential places where fields may exist in one vis type but not for others.

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
    • yarn test:ftr
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: Tyler Ohlsen <[email protected]>
@codecov
Copy link

codecov bot commented Jun 6, 2023

Codecov Report

Merging #4251 (d19c2f5) into feature/feature-anywhere (b05c633) will not change coverage.
The diff coverage is n/a.

@@                    Coverage Diff                    @@
##           feature/feature-anywhere    #4251   +/-   ##
=========================================================
  Coverage                     26.39%   26.39%           
=========================================================
  Files                           150      150           
  Lines                          3554     3554           
  Branches                        407      407           
=========================================================
  Hits                            938      938           
  Misses                         2592     2592           
  Partials                         24       24           
Flag Coverage Δ
Windows 26.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@joshuarrrr joshuarrrr merged commit 6189e87 into opensearch-project:feature/feature-anywhere Jun 8, 2023
@ohltyler ohltyler deleted the bug-fix-2 branch June 8, 2023 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants